interface City {
  name: string;
  location: [number, number];
}

interface Address {
  id: string;
  name: string;
  location: [number, number];
  address: string;
}

// 热门城市数据
export const hotCities: City[] = [
  { name: '北京', location: [116.397428, 39.90923] },
  { name: '上海', location: [121.472644, 31.231706] },
  { name: '广州', location: [113.280637, 23.125178] },
  { name: '深圳', location: [114.085947, 22.547] },
  { name: '杭州', location: [120.153576, 30.287459] },
  { name: '成都', location: [104.065735, 30.659462] },
  { name: '重庆', location: [106.504962, 29.533155] },
  { name: '西安', location: [108.948024, 34.263161] }
];

// 按拼音首字母排序的城市数据
export const citiesByLetter: { [key: string]: City[] } = {
  'B': [{ name: '北京', location: [116.397428, 39.90923] }],
  'C': [{ name: '成都', location: [104.065735, 30.659462] }],
  'G': [{ name: '广州', location: [113.280637, 23.125178] }],
  'H': [{ name: '杭州', location: [120.153576, 30.287459] }],
  'S': [
    { name: '上海', location: [121.472644, 31.231706] },
    { name: '深圳', location: [114.085947, 22.547] }
  ],
  'X': [{ name: '西安', location: [108.948024, 34.263161] }],
  'Z': [{ name: '重庆', location: [106.504962, 29.533155] }]
};

// 每个城市的地址数据
export const cityAddresses: { [key: string]: Address[] } = {
  '北京': [
    { id: 'bj-1', name: '天安门', location: [116.397428, 39.90923], address: '北京市东城区天安门广场' },
    { id: 'bj-2', name: '王府井', location: [116.418017, 39.915446], address: '北京市东城区王府井大街' }
  ],
  '上海': [
    { id: 'sh-1', name: '外滩', location: [121.490317, 31.236305], address: '上海市黄浦区中山东一路' },
    { id: 'sh-2', name: '南京路', location: [121.481644, 31.236862], address: '上海市黄浦区南京东路' }
  ],
  '广州': [
    { id: 'gz-1', name: '珠江新城', location: [113.321434, 23.119904], address: '广州市天河区珠江新城' },
    { id: 'gz-2', name: '天河路', location: [113.332173, 23.132175], address: '广州市天河区天河路' }
  ],
  '深圳': [
    { id: 'sz-1', name: '福田中心区', location: [114.025974, 22.537496], address: '深圳市福田区福华一路' },
    { id: 'sz-2', name: '华强北', location: [114.086012, 22.548401], address: '深圳市福田区华强北路' }
  ],
  '杭州': [
    { id: 'hz-1', name: '西湖', location: [120.149953, 30.242846], address: '杭州市西湖区西湖景区' },
    { id: 'hz-2', name: '钱江新城', location: [120.210792, 30.246026], address: '杭州市江干区钱江新城' }
  ],
  '成都': [
    { id: 'cd-1', name: '春熙路', location: [104.082855, 30.657691], address: '成都市锦江区春熙路' },
    { id: 'cd-2', name: '宽窄巷子', location: [104.066541, 30.669462], address: '成都市青羊区宽窄巷子' }
  ],
  '重庆': [
    { id: 'cq-1', name: '解放碑', location: [106.577798, 29.557175], address: '重庆市渝中区解放碑步行街' },
    { id: 'cq-2', name: '观音桥', location: [106.531926, 29.572054], address: '重庆市江北区观音桥步行街' }
  ],
  '西安': [
    { id: 'xa-1', name: '钟楼', location: [108.940174, 34.259253], address: '西安市碑林区东大街' },
    { id: 'xa-2', name: '大雁塔', location: [108.964815, 34.222423], address: '西安市雁塔区雁塔路' }
  ]
}; 